﻿using movie.tool.library.binding;

namespace movie.tool.module.film.model
{
    /// <summary>
    /// 播放模式。1-循环播放;2-播放结束自动播放下一幕;3-播放结束停止播放;4-投影第一组线索并循环播放
    /// </summary>
    public class PlayMode : NotifyPropertyChanged
    {
        private int mode;
        public int Mode
        {
            get => mode;
            set
            {
                mode = value;
                SendPropertyChanged(nameof(Mode));
            }
        }
        private string name;
        public string Name
        {
            get => name;
            set
            {
                name = value;
                SendPropertyChanged(nameof(Name));
            }
        }
        public PlayMode() { }
        public PlayMode(int mode,string name)
        {
            this.Mode = mode;
            this.Name = name;
        }
    }
}
